import request from '@/utils/request'

// 查询生产日时维护列表
export function listProductionDay(query) {
  return request({
    url: '/base/productionDay/list',
    method: 'get',
    params: query
  })
}

// 查询生产日时维护详细
export function getProductionDay(id) {
  return request({
    url: '/base/productionDay/' + id,
    method: 'get'
  })
}

// 新增生产日时维护
export function addProductionDay(data) {
  return request({
    url: '/base/productionDay',
    method: 'post',
    data: data
  })
}

// 修改生产日时维护
export function updateProductionDay(data) {
  return request({
    url: '/base/productionDay',
    method: 'put',
    data: data
  })
}

// 删除生产日时维护
export function delProductionDay(id) {
  return request({
    url: '/base/productionDay/' + id,
    method: 'delete'
  })
}
